package com.grandprixsw.evmsmobile;

public class EVMSProject {
	private float mfBCWS;
	private float mfACWP;
	private float mfBCWP;
	private float mfMR;
	private float mfEAC;
	private float mfBAC;
	private float mfCBB;
	
	private int mID;
	private String mstrName = null;
	
	public EVMSProject() {
	}
	
	public EVMSProject(String pName) {
		this.setName(pName);
	}

	public EVMSProject(String pName, float pBCWS, float pBCWP, float pACWP, float pMR,
			float pEAC, float pBAC, float pCBB) {

		this(pName);		
		this.setBCWS(pBCWS);
		this.setBCWP(pBCWP);
		this.setACWP(pACWP);
		this.setMR(pMR);
		this.setEAC(pEAC);
		this.setBAC(pBAC);
		this.setCBB(pCBB);
	}
	
	public EVMSProject(int pID, String pName, float pBCWS, float pBCWP, float pACWP, float pMR,
			float pEAC, float pBAC, float pCBB) {
		
		this(pName, pBCWS, pBCWP, pACWP, pMR, pEAC, pBAC, pCBB);
		mID = pID;
	}

// ID
	public int getID() {
        return mID;
    }
	
// Name
	public String getName() {
		return mstrName;
	}
	
	public void setName(String pName) {
		if ((null != pName) && (pName.length() > 0))
			mstrName = pName;
	}
	
// BCWS
	public float getBCWS() {
		return mfBCWS;
	}
	
	public void setBCWS(float pValue) {
		mfBCWS = pValue;
	}

// ACWP
	public float getACWP() {
		return mfACWP;
	}
	
	public void setACWP(float pValue) {
		mfACWP = pValue;
	}	
	
// BCWP
	public float getBCWP() {
		return mfBCWP;
	}
		
	public void setBCWP(float pValue) {
		mfBCWP = pValue;
	}
	
// MR
	public float getMR() {
		return mfMR;
	}

	public void setMR(float pValue) {
		mfMR = pValue;
	}	
	
//EAC 
	public float getEAC() {
		return mfEAC;
	}
	
	public void setEAC(float pValue) {
		mfEAC = pValue;
	}
	
// BAC
	public float getBAC() {
		return mfBAC;
	}
	
	public void setBAC(float pValue) {
		mfBAC = pValue;
	}

// CBB
	public float getCBB() {
		return mfCBB;
	}
	
	public void setCBB(float pValue) {
		mfCBB = pValue;
	}
	
}
